<template>
	<div class="header">
		<van-nav-bar
			title="登录"
			left-text="返回"
			left-arrow
			@click-left="onClickLeft"
		/>
	</div>
</template>
<script setup>
import { NavBar } from "vant"
import { useRouter } from "vue-router"

const router = useRouter()

const onClickLeft = () => router.push('/home')
</script>
